package org.example.hospital_registration_system.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface IDepartmentMapper {

    /*
    * 根据部门ID查询部门名称
    * */
    @Select("SELECT department_name FROM department WHERE department_id = #{departmentId}")
    String getDepartmentNameById( int departmentId);
}
